xend: Stub out vscsi_get_scsidevices() until issues are addressed.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 20 Oct 2008 14:05:48 +0000 (15:05 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 20 Oct 2008 14:05:48 +0000 (15:05 +0100)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/util/vscsi_util.py

index 42137bc6c8ff084e22ad50945f3cc1a6f6aef211..443ef95c5895c1b9a3bd47a8918fe93cb2dbf52d 100644 (file)
@@ -93,6 +93,10 @@ def _vscsi_block_scsiid_to_hctl(phyname, scsi_devices):
 def vscsi_get_scsidevices():
     """ get all scsi devices"""
 
+    # KAF: Stubbed out for now due to bogus use of os.chdir() and because
+    # the devices.append() line can fail due to sg and scsi_id not defined.
+    return []
+
     devices = []
     sysfs_mnt = utils.find_sysfs_mount()